package com.fy.common.enums;

import lombok.Getter;

/**
 * @author huangming
 * @date 2021/4/8 22:41
 */
@Getter
public enum RocketMqDelayLevel {
    ONE(1, "延迟1秒"),
    TWO(2, "延迟5秒"),
    THREE(3, "延迟10秒"),
    FOUR(4, "延迟30秒"),
    FIVE(5, "延迟1分钟"),
    SIX(6, "延迟2分钟"),
    SEVEN(7, "延迟3分钟"),
    EIGHT(8, "延迟4分钟"),
    NINE(9, "延迟5分钟"),
    TEN(10, "延迟6分钟"),
    ELEVEN(11, "延迟7分钟"),
    TWELVE(12, "延迟8分钟"),
    THIRTEEN(13, "延迟9分钟"),
    FOURTEEN(14, "延迟10分钟"),
    FIFTEEN(15, "延迟20分钟"),
    SIXTEEN(16, "延迟30分钟"),
    SEVENTEEN(17, "延迟1小时"),
    EIGHTEEN(18, "延迟2小时"),
    NINETEEN(19, "延迟90秒（自定义）");

    RocketMqDelayLevel(int value, String comment) {
        this.value = value;
        this.comment = comment;
    }

    private int value;
    private String comment;
}
